package com.example.demo.cloud.customer;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author root
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients("com.example.demo.client.*")
public class DemoCloudCustomerApplication {

    public static void main(String[] args) {
        SpringApplication.run(DemoCloudCustomerApplication.class, args);
        System.out.println("消费者启动了------》");
    }

}
